package com.recruit.recommend.service;

import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import org.springframework.http.codec.ServerSentEvent;
import reactor.core.publisher.Flux;

import javax.servlet.http.HttpServletResponse;

public interface ChatAiService {


    Flux<ServerSentEvent<String>> generate(String content, HttpServletResponse response) throws NoApiKeyException, InputRequiredException;
}
